<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <div class="row clearfix">
            <div class="col-md-12 column">
                <div class="page-header">
                    <h1>新增用户</h1>
                </div>
            </div>
            <div class="row">
                <div class="col-md-4 colum">
                    <a class="btn btn-default href="${pageContext.request.contextPath}/user/toAddPage">新增书籍</a>
                </div>
            </div>
        </div>

        <form action="${pageContext.request.contextPath}/user/addUser" method="post">
            <div class="form-group">
                <label for="username">用户名</label>
                <input type="text" name="username" class="form-control" id="username" required>
            </div>
            <div class="form-group">
                <label for="pwd">密码</label>
                <input type="password" name="pwd" class="form-control" id="pwd" required>
            </div>
            <div class="form-group">
                <label for="email">邮箱</label>
                <input type="text" name="email" class="form-control" id="email" required>
            </div>
            <div class="form-group">
                <label for="tel">电话号码</label>
                <input type="text" name="tel" class="form-control" id="tel" required>
            </div>
            <button type="submit" class="btn btn-default">Submit</button>
        </form>
    </div>

</body>
</html>
